package me.zhengjie.modules.assembly.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.modules.assembly.entity.Department;
import me.zhengjie.modules.assembly.mapper.DepartmentMapper;
import me.zhengjie.modules.assembly.service.IDepartmentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("iDepartmentService")
@Slf4j
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper, Department> implements IDepartmentService {

    @Resource
    private DepartmentMapper departmentMapper;

    @Override
    public Department selectByPrimaryKey(String id) {
        return departmentMapper.selectByPrimaryKey(id);
    }
}
